//
//  ZPSizeShowLableVC.m
//  ZhenPin
//
//  Created by fei on 14-6-30.
//  Copyright (c) 2014年 zhenpin. All rights reserved.
//

#import "ZPSizeShowLableVC.h"
@interface ZPSizeShowLableVC ()

@end

@implementation ZPSizeShowLableVC

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}
-(void)viewWillAppear:(BOOL)animated {
//    self.tabBarController.tabBar.hidden = YES;
}
-(void)viewWillDisappear:(BOOL)animated {
//    self.tabBarController.tabBar.hidden = NO;
}
- (void)viewDidLoad
{
    [super viewDidLoad];
    [self setNavBarButtonItem];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL  URLWithString:[NSString stringWithFormat:@"http://www.baidu.com"]]];
    [_sizeShowLabelWebView loadRequest:request];
}

-(void)setNavBarButtonItem {
    
    [self.navigationController.navigationBar setBackIndicatorImage:
     [UIImage imageNamed:@"return"]];
    [self.navigationController.navigationBar setBackIndicatorTransitionMaskImage:
     [UIImage imageNamed:@"return"]];
    self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStyleBordered target:nil action:nil];
}

-(void)leftBarbuttonItemClicked:(UIButton *)button {
    [self.navigationController popViewControllerAnimated:YES];
}

#pragma mark -- webviewdelegate



- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
